package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;

public interface DetectdetailDAO extends JpaDao<Detectdetail> {

	public Detectdetail findDetectdetailById(Integer id) throws DataAccessException;

	public Detectdetail findDetectdetailById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByName(String name) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByNameContaining(String name_1) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByValue(String value) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByValue(String value, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByValueContaining(String value_1) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByValueContaining(String value_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByDescription(String description) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Detectdetail findDetectdetailByPrimaryKey(Integer id) throws DataAccessException;

	public Detectdetail findDetectdetailByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Detectdetail> findAllDetectdetails() throws DataAccessException;

	public Set<Detectdetail> findAllDetectdetails(int startResult, int maxRows) throws DataAccessException;

	public Set<Detectdetail> findDetectdetailsByDetect(Integer detectId, int start, int max);

	public Set<Detectdetail> findDetectdetailsByFeature(Integer featureId, int start, int max);

	public Set<Detectdetail> findDetectdetailsByUnit(Integer unitId, int start, int max);

	public Set<Detectdetail> findDetectdetailsByDetectmethod(Integer detectmethodId, int start, int max);

	public Set<Detectdetail> findDetectdetailByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectdetail> findDetectdetailsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Detectdetail findDetectdetailByPhysicalPrimaryKey(Integer detectId, Integer featureId, String value,
			Integer unitId) throws DataAccessException;

	public Detectdetail findDetectdetailByPhysicalPrimaryKey(Integer detectId, Integer featureId, String value,
			Integer unitId, int startResult, int maxRows) throws DataAccessException;
}
